<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>提交成功</title>
<%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
	$(document).ready(function(){
		if("${grantCode}"=="300"){
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
			$("#td_msg").html('您的网上申请书已经成功提交到受理中心，请密切留意系统通知。');
		</security:authorize>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
			$("#td_msg").html('您的网上申请书已经提交，请联系您的单位管理员进行网上审核，上报给受理中心。');
		</security:authorize>
		}
		parent.$("#TB_closeWindowButton").hide();//隐藏默认关闭按钮
		$("#list").click(function(){

			if("${subGrantCode}"=="648"){
				
				parent.window.location.href="${ctx}/proposal/prp-edit-list?grantCode=${grantCode}&subGrantCode=${subGrantCode}&menuId=${menuId}";
			}else{				
				parent.window.location.href="${ctx}/proposal/prp-edit-list?menuId=${menuId}";
			}
			parent.tb_remove();
			
		})
	})
</script>
</head>
<body>
<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	<table align="center">
		<tr>
			<td width="60" height="60" align="center"><input type="image" src="${res}/images/tu02.gif" /></td>
			<td style="color:#cc6600; font-size: 14px; font-weight: bold;" id="td_msg">
			<c:if test="${empty param.depart_code}">您的网上申请书已经提交，请联系您的单位管理员进行网上审核。<br/></c:if>
			<c:if test="${not empty param.depart_code}">您的网上申请书已经提交，请联系您的二级部门管理员或单位管理员进行网上审核。<br/></c:if>
			</td>
		</tr>
		<!-- 
		<tr>
			<td width="60" height="60" align="center"><input type="image" src="${res}/images/tu02.gif" /></td>
			<td style="color:#cc6600; font-size: 14px; font-weight: bold;">您的网上申请书，区主管部门人员将在10个工作日内完成网上形式审查，请密切留意系统通知。 </td>
		</tr>
		 -->
		<tr>
			<td colspan="2" align="center" height="30">
			<input type="button" class="button_01" value="<s:text name='proposal.backToApplicationList' />" id="list" />
			</td>
		</tr> 
	</table>
</security:authorize>
<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
	<table align="center">
		<tr>
			<td width="60" height="60" align="center"><input type="image" src="${res}/images/tu02.gif" /></td>
			<td style="color:#cc6600; font-size: 14px; font-weight: bold;" id="td_msg">
			<c:if test="${param.recomend_org_type=='17' }">您的网上申请书已经成功提交到县区主管单位，请密切留意系统通知。</c:if>
			<c:if test="${param.recomend_org_type!='17' }">您的网上申请书已经成功提交到归口管理部门，请密切留意系统通知。</c:if>
			 </td>
			
		</tr>
		<tr>
			<td colspan="2" align="center" height="30">
			<input type="button" class="button_01" value="<s:text name='proposal.backToApplicationList' />" id="list" />
			</td>
		</tr> 
	</table>
</security:authorize>
</body>
</html>